package com.zhb.cms.domain.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import com.zhb.cms.domain.dao.UrUserLoginInfoMapper;
import com.zhb.cms.domain.dao.UrUserOrgPortalInfoMapper;
import com.zhb.cms.domain.vo.UserOrgPortalVO;
import com.zhb.cms.domain.vo.UserTokenVO;
import com.zhb.cms.sdk.bean.Result;

@Service("userOrgPortalService")
public class UserOrgPortalService {

	@Autowired
	private UrUserOrgPortalInfoMapper urUserOrgPortalInfoMapper;
	/**
	 * 
	* @Title: searchOrgPortals 
	* @Description: 查询用户机构下领域门户的列表服务 
	* @author  张海滨  zhanghb22 
	* @date 2017年12月11日 下午6:15:18 
	* @return Result<List<UserOrgPortalVO>>    返回类型
	 */
	public Result<List<UserOrgPortalVO>> searchOrgPortals(String userCd,String orgCd,String parentCd){
		List<UserOrgPortalVO> userOrgPortalList=urUserOrgPortalInfoMapper.searchOrgPortals(userCd, orgCd, parentCd);
		return new Result<List<UserOrgPortalVO>>("0",null,userOrgPortalList);
	}
}
